package com.kmxd.ams.client.arrange.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.kmxd.ams.infra.arrange.base.BaseBO;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 上传导入数据结果
 *
 * @author ZuoLG
 */
@Schema(description = "上传导入数据结果")
@EqualsAndHashCode(callSuper = true)
@Data
public class UploadImportDataVO extends BaseBO {

  @Schema(description = "文件名")
  private String fileName;

  @Schema(description = "附件保存路径")
  private String path;

  /** 导入的字段 */
  @Schema(description = "导入的字段")
  private List<String> fields;

  @Schema(description = "导入成功数据")
  @JsonSerialize(using = ToStringSerializer.class)
  private long successTotal;
}
